/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.oai.metadataRepository.repository.xmlConfiguration;

/**
 *
 * @author Martin Rehanek (rehan at mzk.cz)
 */
class SetConfig {

    private final Integer id;
    private final String spec;
    private final String name;

    public SetConfig(Integer id, String spec, String name) {
        this.id = id;
        this.spec = spec;
        this.name = name;
    }

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "id: " + id + ", spec: '" + spec + "', name: '" + name + "'";
        //return "spec:'" + getSpec() + "', name: '" + getName() + "'";
    }

    /**
     * @return the spec
     */
    public String getSpec() {
        return spec;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
}
